#pragma once
#include <kungfu/practice/master.h>
#include "mint/service/mlocator.h"

namespace junyi
{
    namespace mint
    {
        namespace wrapper
        {
			class MMaster:public kungfu::practice::master
			{
			public:
				MMaster(std::shared_ptr<location> home, bool low_latency = false);

				~MMaster() {};

				virtual void on_register(const kungfu::yijinjing::event_ptr& event, kungfu::yijinjing::data::location_ptr app_location);

				virtual void on_interval_check(int64_t nanotime);

				int64_t get_trading_day_ns();

			private:

			};
        }
    }
}